<template lang="html">
<div class="user-ctrl-page normal-table-page">
	<Card :dis-hover="true">
		<p slot="title">
			<Icon type="email-unread"></Icon> 意见反馈
		</p>
		<!-- <transition name="fade">
			<div class="loading-cover" v-if="pageLoading">
				<Spin fix size="large"></Spin>
			</div>
		</transition> -->
		<Table :columns="feedbackColumns" :loading="pageLoading" ref="feedbackTable" border :data="tableData"></Table>
		<div class="page-ctrl"  v-if="pageCount">
			<Page :total="pageCount" :current="pageNum" show-total show-elevator @on-change="changePage" :page-size="20">
			</Page>
		</div>
	</Card>
	<Modal :mask-closable="false" v-model="showModal" title="回复反馈" :loading="modalLoading" @on-ok="submitFeedback()">
		<Form :model="feedbackModalForm" ref="feedbackModalForm" :rules="feedbackModalFormRules">
			<FormItem  prop="feedbackText">
				<Input v-model="feedbackModalForm.feedbackText" type="textarea" placeholder="输入回复..."></Input>
			</FormItem>
		</Form>
	</Modal>

</div>
</template>

<script src="./feedback.js">

</script>

<style lang="scss" src="../CRM_UserCtrl/user-ctrl.scss">
</style>
